package shizhan;

import org.mybatis.spring.SqlSessionTemplate;
import shili.entity.SysUser;
import shili.entity.SysUserMapper;

import java.util.List;

/**
 * SysUserMapperImpl
 *
 * @author boy
 * @since 2023/10/20
 */

public class SysUserMapperImpl implements SysUserMapper {
    private SqlSessionTemplate sqlSession;
    @Override
    public List<SysUser> list(SysUser sysUser) {
        return sqlSession.getMapper(SysUserMapper.class).list(sysUser);
    }

    @Override
    public int add(SysUser sysUser) {
        return 0;
    }

    @Override
    public int getSqlSession() {
        return 0;
    }

    @Override
    public int delete(int id) {
        return 0;
    }

    public void setSqlSession(SqlSessionTemplate sqlSession) {
        this.sqlSession = sqlSession;
    }
}
